package com.search.service;

import com.common.domain.Product;
import org.springframework.cloud.openfeign.FeignClient;

import java.util.List;

/**
 * @author Elias
 * @version 1.0
 * @date 2021-06-02 9:18
 * @description
 * @copyright 2021
 */
@FeignClient("product")
public interface ProductService {
    /**
     * 查询所有商品
     * @return product
     */
    List<Product> queryProducts();
}
